package com.newtouch.bxzs.common.base.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 试题选项实体类
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/2/5</td>
 * <td>dongjinlin</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author dongjinlin
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@TableName(value = "ASSISTANT_EXAMINATION_QUESTIONS_OPTION")
public class ExaminationQuestionsOption implements Serializable {

  /**
   * 序列化
   */
  private static final long serialVersionUID = -3130327754252158974L;
  /**
   * 试题选项id
   */
  @TableId(value = "EXAMINATION_QUESTIONS_OPTION_ID", type = IdType.ASSIGN_UUID)
  private String examinationQuestionsOptionId;
  /**
   * 试题选项
   */
  @TableField(value = "EXAMINATION_QUESTIONS_OPTION")
  private String examinationQuestionsOption;
  /**
   * 试题选项描述
   */
  @TableField(value = "EXAMINATION_QUESTIONS_OPTION_DESCRIPTION")
  private String examinationQuestionsOptionDescription;
  /**
   * 是否正确
   */
  @TableField(value = "IS_CORRECT")
  private Integer isCorrect;
  /**
   * 试题id
   */
  @TableField(value = "EXAMINATION_QUESTIONS_ID")
  private String examinationQuestionsId;
  
  /**
   * 创建用户ID
   */
  @TableField(value = "CREATE_USER_ID")
  private String createUserId;
  /**
   * 创建时间
   */
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @TableField(value = "CREATE_TIME")
  private Date createTime;
  /**
   * 修改用户ID
   */
  @TableField(value = "UPDATE_USER_ID")
  private String updateUserId;
  /**
   * 修改时间
   */
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @TableField(value = "UPDATE_TIME")
  private Date updateTime;
  /**
   * 是否删除
   */
  @TableField(value = "IS_DELETE")
  private Boolean isDelete;
  /**
   * 备注
   */
  @TableField(value = "MEMO")
  private String memo;

}
